package com.peng.mvvm_wan.viewmodels

import androidx.lifecycle.LifecycleObserver
import com.peng.mvvm_wan.net.RequestApi
import com.uestc.request.handler.Request
import com.uestc.request.model.RequestViewModel

abstract class BaseModel : RequestViewModel(), LifecycleObserver {
    open val service by lazy { Request.apiService(RequestApi::class.java) }
}